package com.company.cloud.product.modules.mgr.controller.req;

import com.company.cloud.product.modules.api.response.ProductSkuItem;
import com.company.cloud.product.modules.api.response.ProductSpecificationItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Getter
@Setter
public class ProductInfoSaveParam extends ProductInfoBaseSaveParam {

    @ApiModelProperty(value = "第三方平台商品URL")
    private String thirdProductUrl;

    @ApiModelProperty(value = "是否支持代理", required = true)
    @NotEmpty(message = "是否支持代理不能为空")
    private String isAgent;

    @ApiModelProperty(value = "代理分成分类")
    private String agentProfitType;

    @ApiModelProperty(value = "规格")
    private List<ProductSpecificationItem> specificationItems;

    @ApiModelProperty(value = "SKU")
    private List<ProductSkuItem> skuItems;

}
